+Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
+ the label that is reparented from the menuitem. (#136614, Dennis
+ Cranston)
+
Tue Mar 9 16:19:09 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
+Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
+ the label that is reparented from the menuitem. (#136614, Dennis
+ Cranston)
+
Tue Mar 9 16:19:09 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
+Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
+ the label that is reparented from the menuitem. (#136614, Dennis
+ Cranston)
+
Tue Mar 9 16:19:09 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
+Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
+ the label that is reparented from the menuitem. (#136614, Dennis
+ Cranston)
+
Tue Mar 9 16:19:09 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
+Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
+ the label that is reparented from the menuitem. (#136614, Dennis
+ Cranston)
+
Tue Mar 9 16:19:09 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
/* GTK - The GIMP Toolkit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Jsh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
option_menu->menu_item = NULL;
option_menu->width = 0;
option_menu->height = 0;
+ /*
+ * Avoid centering the label that is reparented from the menuitem.
+ * Since gobject doesn't support overriding default values of
+ * properties in a convenient way yet, we simply set the value here.
+ */
+ gtk_button_set_alignment (GTK_BUTTON (option_menu), 0.0, 0.5);
}
GtkWidget*